package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> findAll();

    void saveDept(String name);

    Dept findDeptById(Integer id);

    void updateDeptById(Dept dept);

    void deleteById(Integer id);
}
